package com.it.tydic.estate.module.service;

import com.it.tydic.estate.module.model.inner.TbGroup;
import com.it.tydic.estate.module.model.inner.TbResource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GroupService {

    int deleteById(String id);

    TbGroup findById(String id);

    int deleteByIds(List<String> idList);

    int addOrUpdate(TbGroup tbGroup);

    List<TbGroup> findGroupTreeListByGroupId(String groupId);

    boolean groupIsUseByList(List<String> idList);

    boolean groupIsUseById(String id);
}
